home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / share / src / OpenGL / toolkits / libglut / glutbitmap.h.z / glutbitmap.h
Encoding:
C/C++ Source or Header  |  1996-12-06  |  650 b   |  31 lines

  1. #ifndef __glutbitmap_h__
  2. #define __glutbitmap_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996. */
  5.  
  6. /* This program is freely distributable without licensing fees 
  7.    and is provided without guarantee or warrantee expressed or 
  8.    implied. This program is -not- in the public domain. */
  9.  
  10. #include <GL/gl.h>
  11.  
  12. typedef struct {
  13.   GLsizei width;
  14.   GLsizei height;
  15.   GLfloat xorig;
  16.   GLfloat yorig;
  17.   GLfloat advance;
  18.   GLubyte *bitmap;
  19. } BitmapCharRec, *BitmapCharPtr;
  20.  
  21. typedef struct {
  22.   char *name;
  23.   int num_chars;
  24.   int first;
  25.   BitmapCharPtr *ch;
  26. } BitmapFontRec, *BitmapFontPtr;
  27.  
  28. typedef void *GLUTbitmapFont;
  29.  
  30. #endif /* __glutbitmap_h__ */
  31.